<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>details</title>

    <script src="/static/js/jquery-1.9.1.min.js"></script>
    <script th:src="@{/js/jquery-1.9.1.min.js}"></script>
    <script src="/static/js/bootstrap.js"></script>
    <script th:src="@{/js/bootstrap.js}"></script>

    <script src="/static/js/layui.js"></script>
    <script th:src="@{/js/layui.js}"></script>

    <link rel="stylesheet" href="/static/css/bootstrap.css">
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}">

    <link rel="stylesheet" href="/static/css/layui.css">
    <link rel="stylesheet" th:href="@{/css/layui.css}">

    <style>
        body {
            padding: 50px;
        }
    </style>
</head>


<script>
    layui.use(['layer', 'form'], function () {
        var layer = layui.layer
            , form = layui.form;

        form.render();
    });
</script>


<body>


<div>
    <div><p style="color: #d9534f">申请详情</p></div>
    <div class="layui-form">
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">申请单编号</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.id}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">主借人姓名</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.name}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">手机号</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.mobile}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">上牌城市</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.city}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">车辆品牌</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.paizi}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">申请额度</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.money}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">身份证号</label>
            <div class="layui-input-block">
                <input type="text" placeholder="请输入标题" autocomplete="off" class="layui-input" style="width: 200px"
                       th:value="${info.sfzh}" disabled>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px">居住地址</label>
            <div class="layui-input-inline" style="width: 100px">
                <select name="city" lay-verify="required" disabled>
                    <option value="#" th:text="${shengName}" selected></option>
                    <option value="0">北京</option>
                </select>
            </div>
            <div class="layui-input-inline" style="width: 100px">
                <select name="city" lay-verify="required" disabled>
                    <option value="#" th:text="${shiName}" selected></option>
                    <option value="0">北京</option>
                </select>
            </div>
        </div>
    </div>


    <div><p style="color: #d9534f">申请详情</p></div>

    <div>
        <form class="layui-form" action="#" th:action="@{handle}" method="post">

            <input type="hidden" name="id" th:value="${info.id}">
            
            <div class="layui-form-item">
                <label class="layui-form-label" style="width: 100px">受理结论</label>
                <div class="layui-input-block" style="width: 200px">
                    <input type="radio" name="status" value="1" title="同意">
                    <input type="radio" name="status" value="2" title="拒绝">
                </div>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label" style="width: 100px">备注</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入内容" class="layui-textarea" style="width: 200px"></textarea>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>

<div>
    <p style="color: #d9534f" th:text="${msg}"></p>
</div>



</body>
</html>